package com.dm.cloud.images.common.request;

import com.dm.cloud.core.annotation.Query;
import com.dm.cloud.core.mode.BaseSearchDTO;
import com.dm.cloud.core.enums.QueryEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import io.swagger.v3.oas.annotations.media.Schema;

/**
   * @author hcx
   * @type ImagesEndpointPageSearch.java
   * @desc ImagesEndpoint
   */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description ="ImagesEndpoint search")
public class ImagesEndpointPageSearch extends BaseSearchDTO {

      /** 节点名称 **/
      @Schema(description = "节点名称")
      @Query(value = QueryEnum.LIKE)
      private String name;
      /** 节点名称 **/
      @Schema(description = "节点描述")
      @Query(value = QueryEnum.LIKE)
      private String remark;
      /** 节点状态:0不正常 1正常 **/
      @Schema(description = "节点状态:0不正常 1正常")
      @Query(value = QueryEnum.EQ)
      private Integer state;
      /** 节点IP **/ 
      @Schema(description = "节点IP")
      @Query(value = QueryEnum.LIKE)
      private String host;
      /** 端口 **/ 
      @Schema(description = "节点ssh端口")
      @Query(value = QueryEnum.EQ)
      private Integer port;

      /** dockerApi端口 **/
      @Schema(description = "dockerApi端口")
      @Query(value = QueryEnum.EQ)
      private Integer dockerPort;

      /** docker配置共享目录:nfs **/
      @Schema(description = "docker配置共享根目录:nfs")
      private String dockerShard;

      @Schema(description = "ssh账号")
      private String uname;

      @Schema(description = "ssh密码")
      private String upwd;

      /** null **/ 
      @Schema(description = "null")
      @Query(value = QueryEnum.EQ)
      private java.util.Date latestTestTime;

}
